//因文档管理好多共同接口所以接口写一块

import request from '@/utils/requestMd5'

//列表
export function companyManualList(params) {
  return request({
    url: '/document/companyManualList',
    method: 'get',
    params
  })
}


//详情
export function companyManualDetail(params) {
  return request({
    url: '/document/companyManualDetail',
    method: 'get',
    params
  })
}

//菜单列表
export function companyManualBaseData(params) {
  return request({
    url: '/document/companyManualBaseData',
    method: 'get',
    params
  })
}

//新增
export function addCompanyManual(data) {
  return request({
    url: '/document/addCompanyManual',
    method: 'post',
    data
  })
}

//删除
export function delCompanyManual(data) {
  return request({
    url: '/document/delCompanyManual',
    method: 'post',
    data
  })
}

//编辑
export function editCompanyManual(data) {
  return request({
    url: '/document/editCompanyManual',
    method: 'post',
    data
  })
}

//新增站内通知
export function addSiteNotice(data) {
  return request({
    url: '/document/addSiteNotice',
    method: 'post',
    data
  })
}

//招标采集
export function tenderList(data) {
  return request({
    url: '/document/tenderList',
    method: 'get',
    data
  })
}
//上下线
export function changeTender(data) {
  return request({
    url: '/document/changeTender',
    method: 'get',
    data
  })
}
//删除招标信息
export function deleteTender(data) {
  return request({
    url: '/document/deleteTender',
    method: 'get',
    data
  })
}
